<?php
session_start();
if(DEBUG_MODE == 'on')
{
	error_reporting(E_ALL ^ E_NOTICE);
}
elseif(DEBUG_MODE == 'off')
{
	error_reporting(0);
}

date_default_timezone_set('Asia/Bangkok');

include(PUNG_ROOT . '/system/class/db.class.php');
include(PUNG_ROOT . '/system/functions.php');
include(PUNG_ROOT . '/system/language.php');

if(strstr($_SERVER['SCRIPT_FILENAME'], '/admin') === FALSE)
{
	//include('../info.php');
	echo 'NOT FOUND';
}

$db = new DB(DB_HOST, DB_USER, DB_PASS, DB_NAME);
?>